package modelLag;

/**
 * Description of the class Person.
 * 
 * @author (Christian, Umut, Christoffer, Patrick, Simon) 
 * @project (Semesterprojekt)
 * @version (2014.12.09)
 */
public class Person
{
   private String name;
   private String adress;
   private String email;
   private String phone;

   /**
    * Constructor for objects of class Person.
    * 
    * @param name is the user input for the name of a person.
    * @param adress is the user input for the address of a person.
    * @param email is the user input for the email of a person.
    * @param phone is the user input for the phone of a person.
    */
   public Person(String name, String adress, String email, String phone){
       this.name = name;
       this.adress = adress;
       this.email = email;
       this.phone = phone;
   }
    
   /**
    * Return the phone of the Person.
    */
   protected String getPhone(){
       return phone;
   }
    
   /**
    * Return the name of the Person.
    */
   protected String getName(){
       return name;
   }
    
   /**
    * Return the adress of the Person.
    */
   protected String getAdress(){
       return adress;
   }
    
   /**
    * Return the E-mail of the Person.
    */
   protected String getEmail(){
       return email;
   }
}
